package com.bistu.openlab.uofspreadsheet.xmlparse;

import java.io.File;

import org.dom4j.Element;

/*
 *@author xiaoguang.gao@oracle.com
 *@version 2013-5-8 
 */
public interface IXmlParse<T> {
	/**
	 * generate a object from a xml file
	 * @param inputFile
	 * @return
	 */
	public T readFromElement(Element root);
	/**
	 *  write a xml file from a object
	 * @param obj
	 * @param outFile
	 */
	public Element writeToElement(T obj);
}
